Optimal. Leaf size=27 \[ \frac{(a+b \log (c (e+f x)))^2}{2 b d f} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0343237, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {2390, 12, 2301} \[ \frac{(a+b \log (c (e+f x)))^2}{2 b d f} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2390
Rule 12
Rule 2301
Rubi steps
\begin{align*} \int \frac{a+b \log (c (e+f x))}{d e+d f x} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a+b \log (c x)}{d x} \, dx,x,e+f x\right )}{f}\\ &=\frac{\operatorname{Subst}\left (\int \frac{a+b \log (c x)}{x} \, dx,x,e+f x\right )}{d f}\\ &=\frac{(a+b \log (c (e+f x)))^2}{2 b d f}\\ \end{align*}
Mathematica [A] time = 0.0036606, size = 27, normalized size = 1. \[ \frac{(a+b \log (c (e+f x)))^2}{2 b d f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.062, size = 39, normalized size = 1.4 \begin{align*}{\frac{a\ln \left ( cfx+ce \right ) }{df}}+{\frac{b \left ( \ln \left ( cfx+ce \right ) \right ) ^{2}}{2\,df}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.13009, size = 136, normalized size = 5.04 \begin{align*} -\frac{1}{2} \, b{\left (\frac{2 \, \log \left (c f x + c e\right ) \log \left (d f x + d e\right )}{d f} - \frac{\log \left (f x + e\right )^{2} + 2 \, \log \left (f x + e\right ) \log \left (c\right )}{d f}\right )} + \frac{b \log \left (c f x + c e\right ) \log \left (d f x + d e\right )}{d f} + \frac{a \log \left (d f x + d e\right )}{d f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.65599, size = 77, normalized size = 2.85 \begin{align*} \frac{b \log \left (c f x + c e\right )^{2} + 2 \, a \log \left (c f x + c e\right )}{2 \, d f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.366937, size = 31, normalized size = 1.15 \begin{align*} \frac{a \log{\left (d e + d f x \right )}}{d f} + \frac{b \log{\left (c \left (e + f x\right ) \right )}^{2}}{2 d f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19508, size = 46, normalized size = 1.7 \begin{align*} \frac{b \log \left ({\left (f x + e\right )} c\right )^{2} + 2 \, a \log \left ({\left (f x + e\right )} c\right )}{2 \, d f} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]